package org.hang.gift.dtos;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 要存到 es中的数据，封装成一个dto，直接放在事务消息中发送到rocketmq
 */
@Data
public class SpuOnsaleDto {

    private Long id;
    private String cover;
    private String name;
    private Long tenantId;
    private String tenantName;
    private Integer commentCount;
    private Integer saleCount;
    private BigDecimal maxPrice;
    private BigDecimal minPrice;
    private String specProperties;
    private String skuProperties;
    private Long typeId;
    private String typeName;
    private Long brandId;
    private String brandName;
    private Date onsaleTime;


}